using System;
using System.Threading;
internal class Class6 : IAsyncResult
{
	internal bool bool_0 = true;
	private object object_0;
	private ManualResetEvent manualResetEvent_0;
	public bool IsCompleted
	{
		get
		{
			return this.bool_0;
		}
	}
	public bool CompletedSynchronously
	{
		get
		{
			return false;
		}
	}
	public object AsyncState
	{
		get
		{
			return this.object_0;
		}
	}
	public WaitHandle AsyncWaitHandle
	{
		get
		{
			if (this.manualResetEvent_0 == null)
			{
				this.manualResetEvent_0 = new ManualResetEvent(false);
			}
			return this.manualResetEvent_0;
		}
	}
	internal void method_0(object object_1)
	{
		this.object_0 = object_1;
		this.bool_0 = false;
		if (this.manualResetEvent_0 != null)
		{
			this.manualResetEvent_0.Reset();
		}
	}
	internal void method_1()
	{
		this.object_0 = null;
		this.bool_0 = true;
		if (this.manualResetEvent_0 != null)
		{
			this.manualResetEvent_0.Set();
		}
	}
}
